package guigu.StandedInputOutput;

import java.util.Scanner;

public class StandedInOutputTest {
    public static void main(String args[]){
        //public final static PrintStream out = null;
        //System.in 编译类型 InputStream
        //System.in 运行类型 BufferedInputStream
        //表示的是标准输入  键盘
        System.out.println(System.in.getClass());

        //public final static PrintStream out = null;
        //编译类型 PrintStream
        //运行类型 PrintStream
        //表示标准输出     显示器
        System.out.println(System.out.getClass());

        Scanner scanner = new Scanner(System.in);
        System.out.println("输入内容");
        String next = scanner.next();
        System.out.println("next="+next);
        scanner.close();
    }
}
